package com.es.www;

/**
 * @Created by michangtao
 * @Date 2022/5/23 10:30
 * @Description
 */
public class ConcreteSubject extends Subject{
    @Override
    protected void notifyObserver() {
        System.out.println("通知观察者");
        observers.forEach(observer -> observer.response());
    }
}
